import { Component } from '@angular/core';
import { AuthService } from '@core/base';
import { NzSafeAny } from 'ng-zorro-antd/core/types';

@Component({
	selector: 'app-passport-should-login',
	templateUrl: './should-login.component.html',
	styleUrls: ['./should-login.component.less'],
})
export class PassportShouldLoginComponent {
	constructor(private authService: AuthService) { }

	public login($event: NzSafeAny) {
		$event.preventDefault();
		this.authService.login();
	}
}
